package com.cn.zpark.pojo;

import java.io.Serializable;

/**
 * @PackageName: com.cn.zpark.pojo
 * @ClassName: User
 * @Description:
 * @author: RZS
 * @date: 2022/4/29  9:35
 */
public class User implements Serializable {
    private Integer id; // 用户id
    private String username; // 用户名
    private String uname; // 姓名
    private String password; // 用户密码
    private String email; // 用户邮箱
    private String phone; // 用户手机号
    private String sex; // 性别
    private Integer isDelete; // 用户状态：0：删除，1：正常
    private String createUserTime; // 用户注册时间
    private String modifyPwdTime; // 用户修改密码时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateUserTime() {
        return createUserTime;
    }

    public void setCreateUserTime(String createUserTime) {
        this.createUserTime = createUserTime;
    }

    public String getModifyPwdTime() {
        return modifyPwdTime;
    }

    public void setModifyPwdTime(String modifyPwdTime) {
        this.modifyPwdTime = modifyPwdTime;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", uname='" + uname + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", isDelete=" + isDelete +
                ", createUserTime='" + createUserTime + '\'' +
                ", modifyPwdTime='" + modifyPwdTime + '\'' +
                '}';
    }
}
